package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("lhk_forecast_weather")
public class ForecastWeatherDO {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /** 时间 */
    private String time;

    /** 预报雨量 */
    private double rainAmount;

    /** 湿度 */
    private int humidity;

    /** 温度 */
    private double temperature;

    /** 测站编码 */
    private String stcd;

    public ForecastWeatherDO() {
    }

    public ForecastWeatherDO(String time, double rainAmount, int humidity, double temperature, String stcd) {
        this.time = time;
        this.rainAmount = rainAmount;
        this.humidity = humidity;
        this.temperature = temperature;
        this.stcd = stcd;
    }
}
